package org.greenwire.dao;

import java.util.List;

import org.greenwire.domain.Account;

import android.database.Cursor;

/**
 * @author wei.zhongw
 * @since 2010-7-6
 */
public interface AccountBookDAO {
	long createAccount(Account account);
	
	Account getAccount(String rowId);
	
	boolean updateAccount(Account account);
	
	boolean delAccount(String rowId);
	
	List<Account> getAccounts();
	
	Cursor getCursor();
	
	Cursor getCursorByDate(String gmtHappened);
}
